<template>
<div>
  <h3>FormHelper</h3>
  <z-space vertical>
    <div v-for="key in keys">
      <div>{{key}}</div>
      <vue-code-mirror :js="getJs(key)" no-title></vue-code-mirror>
    </div>
  </z-space>
</div>
</template>

<script>


import  {FormHelper} from '@/main.js'
import VueCodeMirror from "@example/components/VueCodeMirror";

// console.log(FormHelper)

export default {
  name: "formHelper",
  components: {VueCodeMirror},
  setup() {
    let keys = Object.keys(FormHelper)

    function getJs(key) {
      // console.dir( getParamNames(FormHelper[key]))
      // return getParamNames(FormHelper[key])
      return FormHelper[key].toString()
    }

    return {
      keys,
      getJs
    }
  }
}
</script>

<style scoped>

</style>